<!--修改密码-->
<template>
  <div class="white" style="height:100%">
    <v-container fluid grid-list-sm>
      <v-layout row wrap>
        <v-flex xs10 offset-xs1>
          <v-form>
            <v-text-field
              prepend-icon="lock"
              append-icon="close"
              name="login"
              label="旧密码"
              type="password"
              v-model="password1"
              @click:append="password1=''"
            ></v-text-field>
            <v-text-field
              prepend-icon="lock"
              append-icon="close"
              name="password"
              label="新密码"
              type="password"
              v-model="password2"
              @click:append="password2=''"
            ></v-text-field>
            <v-text-field
              prepend-icon="lock"
              append-icon="close"
              name="password2"
              label="确认新密码"
              type="password"
              v-model="password3"
              @click:append="password3=''"
            ></v-text-field>
          </v-form>
        </v-flex>

        <v-flex xs10 offset-xs1>
          <v-btn block color="info" large @click="toSrc()">完成</v-btn>
        </v-flex>
      </v-layout>
    </v-container>
  </div>
</template>
<script>
export default {
  data() {
    return {
      password1: "",
      password2: "",
      password3: ""
    };
  },
  methods: {
    toSrc() {
      this.$router.push({ path: "/index" });
    }
  }
};
</script>
<style lang='less' scoped>
</style>